<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http:dream/cust_tag.tld" prefix="page"%>
<c:forEach var="vo" varStatus="vs" items="${pageVO.details}">
	<tr id="item${vs.count}">
		<td class="text-center">
			<c:out value="${vo.id}"/>
		</td>
		<td class="text-left ellipsis" >
			<c:out value="${vo.name}"/>
		</td>
		<td class="text-center ellipsis" >
			<c:out value="${vo.levelObj.name}"/>
		</td>
		<td class="text-center ellipsis" >
			 <c:out value="${vo.makeTypeObj.name}"/>
		</td>
		<td class="text-center" >
			  <fmt:formatNumber value="${vo.netPrice }" pattern="###,###.##"/>
		</td>
		<td class="text-center" >
			 <fmt:formatNumber value="${vo.customerPrice }" pattern="###,###.##"/>
		</td>
		<td class="text-center" >
			 <c:out value="${vo.repairMonth}"/>
		</td>
		<td class="text-center" >
			<c:choose>
				<c:when test="${vo.isBack }">是</c:when>
				<c:otherwise>否</c:otherwise>
			</c:choose>
		</td>
		<td class="text-center" >
			 <fmt:formatDate value="${vo.updateTime }" pattern="yyyy-MM-dd"/>
		</td>

		<td class="text-center">
			<a id="modify${vs.count}" class="btn btn-warning btn-small" href='${root}/mst/pro/part/update/init?h=h03&n=n05&id=${vo.id}' target="_blank"  >
				修改
			</a>
			<a id="modify${vs.count}" class="btn btn-danger btn-small" href='javascript:void(0)' onclick="deleteById('${vo.id}')" >
				删除
			</a>
		</td>
	</tr>
</c:forEach>
<tr>
<td colspan="10" class="text-center" >
	<page:webpaging function="common.ajaxPagingQuery('${root}/mst/pro/part/list')" totalCount="${pageVO.count}"></page:webpaging>
</td>
</tr>
 		


